﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VBFOOL.MediaPlayer.Core.Interface
{
    public interface ISubtitleReader
    {
        SubtitleItem this[TimeSpan TimeCode] { get; }
        SubtitleItem this[int Index] { get; }
        IEnumerable<SubtitleItem> Items { get; }
    }
    public class SubtitleItem
    {
        public TimeSpan TimeCode { get; set; }
        public TimeSpan Duration { get; set; }
        public string Text { get; set; }
    }
}
